package com.share.dgs.context;

import com.netflix.graphql.dgs.context.DgsCustomContextBuilder;
import org.springframework.stereotype.Component;

/**
 * @author caifan
 * @created 2021/3/5
 * description:
 */
@Component
public class MycontextBuilder implements DgsCustomContextBuilder<MyContext> {
    @Override
    public MyContext build() {
        return new MyContext();
    }
}
